﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
    public class UserBUS
    {
        public static UserDAO dao = new UserDAO();
        public List<UserDTO> GetAll()
        {
            
            return dao.GetAll();
        }
        public bool Insert(UserDTO LP)
        {


            return dao.Insert(LP);
        }
        public bool Update(UserDTO p)
        {

            return dao.Update(p);
        }
        public bool Delete(UserDTO p)
        {

            return dao.Delete(p);
        }
        public bool Selectlike(UserDTO p)
        {

           return dao.selectlike(p);
        }
    }
}
